package com.my.mapper;

import com.my.bean.Evaluate;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.my.bean.Production;
import com.my.bean.ProjectStar;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
  * 产康评价 Mapper 接口
 * </p>
 *
 * @author 闫亚茹
 * @since 2018-08-25
 */
public interface EvaluateMapper extends BaseMapper<Evaluate> {
    /**
     * 查询 子查询
     * @return
     */
    List<Evaluate> selectEvaluate(@Param("areaid") Long areaid,@Param("admin")boolean admin);
    List<ProjectStar> countEvaStar(@Param("param") String param,@Param("areaid") Long areaid,@Param("admin")boolean admin);


}